package user.service;

import java.util.Collection;

import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;

import user.entity.User;

@WebService
public interface UserService {
	@WebResult(name="addUserResponse")
	public void addUser(@WebParam(name="user")User user) throws AddUserException;
	@WebResult(name="deleteUserResponse")
	public void deleteUser(@WebParam(name="username")String username);
	@WebResult(name="getAllUserResponse")
	public Collection<User> getAllUser();
}

